package cn.good.biz.service;

import cn.good.mapper.ArticleMapper;
import cn.good.pojo.Article;
import cn.good.service.ArticleService;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service(interfaceClass = ArticleService.class)
@Component
public class ArticleServiceImpl implements ArticleService {

    @Resource
    private ArticleMapper articleMapper;
    @Override
    public List<Article> findArticleList(Map<String, Object> param) throws Exception {
        return articleMapper.findArticleList(param);
    }
}
